///@file Cylinder.h
///@brief Declaration of the class representing a cylinder
///@author Arnaud Duval
///@version 0.0
///@date 2010/03/05


#ifndef CYLINDER_H
#define CYLINDER_H

#include "Volume.h"
#include "Point.h"


///@class Cylinder
///@brief Class defining a Cylinder
class Cylinder : public Volume
{
	public:
		///@brief First point defining axis
		Point p1;
		///@brief Second point defining axis
		Point p2;
		///@brief Radius
		double radius;
	private:
		///@brief Default constructor
		Cylinder();
		///@brief Constructor with arguments
		Cylinder(Point, Point, double);
		///@brief Destructor
		~Cylinder();
		///@brief Compute volume value
		double value();
};

#endif